package com.scapegoat.pay.point.service.dao.impl;

import com.scapegoat.pay.point.service.dao.RpPointAccountHistoryDao;
import com.scapegoat.pay.point.service.entity.RpPointAccountHistory;
import org.springframework.stereotype.Repository;
import com.scapegoat.pay.common.core.dao.impl.BaseDaoImpl;

import java.util.HashMap;
import java.util.Map;


@Repository
public class RpPointAccountHistoryDaoImpl extends BaseDaoImpl<RpPointAccountHistory> implements RpPointAccountHistoryDao {
    
    /**
     * 根据请求号获取账户历史
     *
     * @param requestNo
     **/
    @Override
    public RpPointAccountHistory getByRequestNo(String requestNo) {
        Map<String, Object> paramMap = new HashMap<String, Object>();
        paramMap.put("requestNo", requestNo);
        return super.getBy(paramMap);
    }
}
